/*
 * @Description: 全部路由路径，用于接口权限过滤
 *  
 * @Date: 2021-03-09 11:17:07
 */
import { isProd } from '@/config/config.base'
export let FullMenuTree = [
	{
		path: '/',
		redirect: '/home',
		name: 'index',
		meta: {
			title: '首页',
			// icon: 'documentation',
		},
	},
]
export let devRouter = [
	{
		path: '/dev',
		name: 'dev',
		meta: {
			title: '开发环境',
			icon: 'bug',
		},
		children: [],
	},
]

// 开发环境全路径
if (!isProd) {
	FullMenuTree = FullMenuTree.concat(devRouter)
}
export const homeRoute = [
	{
		path: '/',
		redirect: '/home',
		name: 'index',
		meta: {
			title: '首页',
			icon: 'dashboard',
		},
	},
]
export default FullMenuTree
